package com.patterns.decorator;

/**
 * @Author Tanyu
 * @Date 2020/6/2 10:55
 * @Description 装饰
 * @Version 1.0
 */
public class SuperCar implements Icar {

  protected Icar car;

  public SuperCar(Icar car) {
    super();
    this.car = car;
  }

  @Override
  public void move() {
    car.move();
  }
}
